Animator Class Reference
[Version 4.0]

Animation runner. More...

Inheritance diagram for Animator:
Inheritance graph
[legend]
Collaboration diagram for Animator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Adding and removing Animations



void addAnimation (CView *view, IdStringPtr name, IAnimationTarget *target, ITimingFunction *timingFunction, CBaseObject *notificationObject=0)
void removeAnimation (CView *view, IdStringPtr name)
void removeAnimations (CView *view)
Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
virtual int32_t getNbReference () const
 get refcount
Message Methods



virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)

Detailed Description

Animation runner.

see Animations Support


Member Function Documentation

void addAnimation ( CView view,
IdStringPtr  name,
IAnimationTarget target,
ITimingFunction timingFunction,
CBaseObject notificationObject = 0 
)

adds an animation. Animation and timingFunction is now owned by the animator. An already running animation for view with name will be canceled. If a notificationObject is supplied, it will be notified when the animation has finished

See also:
FinishedMessage.
virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference (  )  const [inline, virtual, inherited]

get refcount

virtual CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
) [inline, virtual, inherited]
virtual void remember (  )  [inline, virtual, inherited]

increase refcount

void removeAnimation ( CView view,
IdStringPtr  name 
)

removes an animation. If animation is a CBaseObject forget() will be called otherwise it is deleted. The same will be done with the timingFunction.

void removeAnimations ( CView view  ) 

removes all animations for view


The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:10:04 2013 for VSTGUI by  doxygen 1.6.1